/**
 * 仓库
 *
 * @author sxf
 * @email sxf02615@163.com
 * @date 2025/1/15
 */
package com.sxf.crm.repository;


import com.sxf.crm.entity.OpportunityLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OpportunityLogRepository extends JpaRepository<OpportunityLog, Long> {
    
    List<OpportunityLog> findByOpportunityIdOrderByOperationTimeDesc(Long opportunityId);
}
